package com.etc.delivery.dao.admin;

import com.etc.delivery.dto.DriverDto;
import com.etc.delivery.entity.Waybill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminDriverDao {

    public List<DriverDto> queryDriver(@Param("name") String name, @Param("warehouseId") Integer warehouseId);

    public boolean deleteDriver(Integer id);

    public List<Waybill> queryDriverWaybill(Integer driverId);


}
